<!DOCTYPE html>
<html>
    <head>
        <title></title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <script src="http://js.pusher.com/2.1/pusher.min.js" type="text/javascript"></script>
        <script type="text/javascript">
            // Enable pusher logging - don't include this in production
            Pusher.log = function(message) {
              if (window.console && window.console.log) {
                window.console.log(message);
              }
            };

            var pusher = new Pusher('cbd68254534cdd922e63');
            var channel = pusher.subscribe('test_channel');
            channel.bind('my_event', function(data) {
              alert(data.message);
            });
        </script>
    </head>
    <body>
        
    </body>
</html>
